﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DTO
{
    public class DanhMucConDTO
    {
        string _tenDanhMucCon;

        public string TenDanhMucCon
        {
            get { return _tenDanhMucCon; }
            set { _tenDanhMucCon = value; }
        }

        int _maDanhMucCon;

        public int MaDanhMucCon
        {
            get { return _maDanhMucCon; }
            set { _maDanhMucCon = value; }
        }

        private int _maDanhMucChinh;

        public int MaDanhMucChinh
        {
            get { return _maDanhMucChinh; }
            set { _maDanhMucChinh = value; }
        }

        private int _deleted;

        public int Deleted
        {
            get { return _deleted; }
            set { _deleted = value; }
        }

        private int _thuTuTrongDanhMucChinh;

        public int ThuTuTrongDanhMucChinh
        {
            get { return _thuTuTrongDanhMucChinh; }
            set { _thuTuTrongDanhMucChinh = value; }
        }

        public DanhMucConDTO()
        {

        }

        public DanhMucConDTO(int ma, string ten)
        {
            _maDanhMucCon = ma;
            _tenDanhMucCon = ten;
        }

        public DanhMucConDTO(int ma, string ten, int madanhmucchinh, int thututrongdanhmucchinh, int del)
        {
            _maDanhMucCon = ma;
            _tenDanhMucCon = ten;
            _maDanhMucChinh = madanhmucchinh;
            _thuTuTrongDanhMucChinh = thututrongdanhmucchinh;
            _deleted = del;
        }

        public DanhMucConDTO(string ten, int maDanhMucChinh, int thutu, int del)
        {
            _tenDanhMucCon = ten;
            _maDanhMucChinh = maDanhMucChinh;
            _thuTuTrongDanhMucChinh = thutu;
            _deleted = del;
        }
    }
}
